package com.hoshiicloud.purchase.feign;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.stock.entity.WarehouseList;
import com.hoshiicloud.stock.param.WarehouseListPageParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @program: hoshiicloud
 * @description: 仓储服务
 * @author: Mr.wu
 * @create: 2019-07-18 15:02
 * TODO 代码迁入后补充具体的服务和请求路径
 **/
@FeignClient(name = "warehouselist")
public interface StockService {


    /*
     * @param param
     * @return com.hoshiicloud.common.rpc.Response<com.baomidou.mybatisplus.core.metadata.IPage<com.hoshiicloud.stock.entity.WarehouseList>>
     * @author: Mr.wu
     * @descripton:分页查询库存信息
     * @date: 16:58 2019/7/18
     */
    @PostMapping()
    Response<IPage<WarehouseList>> getWarehouseListPage(WarehouseListPageParam param);
}
